package com.kairos.engine
{
	import flash.events.Event;
	
	public class MockRTObject extends RTObject
	{
		public var called : Boolean;
		public var callStep : Number;
		public var callCount : Number;
		public var runTime : Number;
		
		
		public function MockRTObject ()
		{
			called = false;
			callCount = 0;
			runTime = 0;
			_oBeacon = MockRTBeacon.getInstance();
		}
		
		public override function onTick( e : Event = null ) : void
		{
			called = true;
			var evt : RTEvent = e as RTEvent;
			callStep = evt.getStep();
			callCount++;
			runTime += callStep;
		}
	}
}